package cn.gyx.hrm.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SMSCodeDto {
    // 图片验证码
    private String imageCode;
    // 用户电话
    @Pattern(regexp = "^(?:(?:\\+|00)86)?1[3-9]\\d{9}$",message = "请输入11位手机号")
    private String mobile;
    // 验证码key值
    private String imageCodeKey;
}
